package com.loong.system.configuaration;

import com.loong.common.google.config.GoogleMapConfig;
import com.loong.common.google.configuaration.GoogleConfiguration;
import com.loong.common.nacos.DynamicKey;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

@Configuration
public class SystemConfiguration implements GoogleConfiguration {

    @Resource
    private DynamicKey dynamicKey;

    @Override
    public GoogleMapConfig mapConfig() {
        GoogleMapConfig googleMapConfig = new GoogleMapConfig();
        googleMapConfig.setApiKey("AIzaSyAMgXPi01HWfkSLxSI9zIjko8UTp0GVB-4");
        return googleMapConfig;
    }
}
